[Imprint][Data Privacy Statement][E-Mail]

Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Specification oarray-sorted
enrich
   oarray
with
   

   
   
   
   predicates  sorted : array × nat × nat;
               . ≤ . : elem × elem;
   
   variables  A : array;
              A0 : array;
              i : nat;
              i0 : nat;
              j : nat;
              x : elem;
              y : elem;
   
   

   

   axioms less-eq-elem :  ⊦ x ≤ y ↔ ¬ y < x;
          used for: s, ls;
          sorted :  ⊦ sorted(ar, n, m) ↔ m ≤ # ar ∧ (∀ n0. n ≤ n0 ∧ n0 + 1 < m → ar[n0] ≤ ar[n0 + 1]);
          used for: ls;

   

   
end enrich